.head-integral {
  height: 2.5rem;
  width: 100%;
  background: url("../image/integral/integral_bg.png") no-repeat center center;
  display: flex;
  .left-parent {
    flex: 1;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    height: 100%;
    float: left;
    display: inline-block;
    .p1 {
      padding: 28px 0 0.05rem 0.3rem;
      font-size: 14px;
      line-height: 14px;
      color: rgba(255, 255, 255, 0.8);
    }
    .total-integral {
      display: inline-block;
      white-space: nowrap;
      margin: 0 0px;
      vertical-align: middle;
      height: 35px;
      .p2 {
        margin: 0.3rem 0 0 0.3rem;
        font-size: 35px;
        color: rgba(255, 255, 255, 1);
        line-height: 35px;

      }
      .img—total-integral {
        display: inline-block;
        margin-left: 5px;
        width: 5px;
        height: 9px;
        line-height: 35px;
        text-align: center;
        vertical-align: super;
      }

    }

  }
  .right-parent {
    flex: 1;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    height: 100%;
    display: inline-block;
    float: right;
    .integral-order {
      margin: 22px 0px;
      display: inline-block;
      float: right;
      width: 100px;
      height: 30px;
      line-height: 30px;
      background-size: 100% 100%;
      background-image: url(../image/integral/icon_order_bg.png);
      img {
        width: 12px;
        height: 14px;
        margin: 0 5px 0 13px;
        vertical-align: middle;
      }
      span {
        font-size: 14px;
        color: rgba(255, 255, 255, 1);
      }

    }

  }
}

.tab-integral {
  background-color: @whiteColor;
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  height: 1.65rem;
  box-shadow: 1rem 0rem 0rem rgba(221, 221, 221, 1);
  img {
    width: 21%;
    margin-right: 0.2rem;
  }
  .middle-line {
    height: 46px;
    width: 1px;
    background-color: #DDDDDD;
    vertical-align: middle;
    display: inline-block;

  }
  .tab-title {
    display: inline-block;
    font-size: 0.32rem;
    margin-top: 0px;
    color: rgba(51, 51, 51, 1);
    line-height: 0rem;
  }
  .tab-content {
    display: inline-block;
    font-size: 0.26rem;
    line-height: 0.28rem;
    color: rgba(153, 153, 153, 1);
  }
  .tab-left {
    flex: 1;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    padding: 0.35rem 0 0.35rem 0.2rem;
    display: inline-block;
    .tab-text-l {
      display: inline-block;
    }
    .right-line {
      border-right: 1px solid #f6f6f6;
      height: 100%;
      display: flex;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      align-items: center;
      -webkit-box-align: center;
      -webkit-align-items: center;
      -ms-flex-align: center;
    }
  }
  .tab-right {
    flex: 1;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    padding: 0.35rem 0 0.35rem 0.2rem;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    align-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    .tab-text-r {
      display: inline-block;
    }
  }
}

.goods-margin {
  height: 0.3rem;
  .bg-f6;
  margin: 0;
}

.goods-type {
  .fs(0.35);
  font-weight: 700;
  color: rgba(51, 51, 51, 1);
  line-height: 1.0rem;
  margin: 0 0px;
  background-color: @whiteColor;
  .pl(0.32);
  border-bottom: 1px solid #f6f6f6;
  .more{
    margin:0rem  0.2rem 0rem 0rem;
    vertical-align: middle;
    line-height: 1.0rem;
  }

}
.goods-div{
  width: 100%;
}

.goods-list {
  overflow: hidden;
  width: 100%;
  .goods-item {
    background-color: @whiteColor;
    display: inline-block;
    float: left;
    width: 50%;

    border-right: 0.01rem solid #f6f6f6;
    border-bottom: 0.01rem solid #f6f6f6;
    &:nth-child(2n+2) {
      border-right: 0;
    }
    .goods-name {
      .fs(0.31);
      .lh(0.33);
      .ml(0.30);
      .mb(0.15);
      margin-top: 3px;
      padding: 0;
      color: @text51Color;
      overflow: hidden;
      white-space: nowrap;
      text-overflow:ellipsis;
      width: 85%;
    }
    .goods-info{
      .mb(0.2);
      .mb(0.2);
      .di-f;
      .flex-align-center;
    }

    .goods-sellout {
      left: 50%;
      top: 50%;
      margin-left: -0.8rem;
      margin-top: -0.65rem;
      .w(1.6);
      .h(1.6);
      z-index: 3;
    }
    .goods-img-div {
      width: 100%;
      height: 2.3rem;
      .goods-img {
        width: 80%;
        .h(1.8);
        display: block;
        margin: 0.4rem 0.4rem 0rem 0.4rem;
        z-index: 1;
      }
      .sellout-bg{
        display: block;
        background-color: #ffffff10;
        margin: 0.4rem 0.4rem 0.3rem 0.4rem;
        width: 80%;
        .h(1.8);
        z-index: 2;
      }
    }
    .price {
      color: @textFCColor;
      .fs(0.26);
      .ml(0.30);
    }
    .price-unit {
      color: @text999Color;
      .fs(0.24);
      white-space: nowrap;
      margin: 0;
      padding: 0;
    }
    .original-price {
      color: @text999Color;
      .fs(0.24);
      .ml(0.1);
      text-decoration: line-through;
    }
    .integral-goods-num {
      .mr(0.30);
      overflow: hidden;
      word-break: keep-all;
      white-space: nowrap;
      color: @text999Color;
      .fs(0.24);
      right: 0;
      bottom: 0;
      .f-r;

    }

  }
}

.daily-tack {
  width: 100%;
  background-color: @default_bg;
  .item {
    background-color: @whiteColor;
    border-bottom: 1px solid #f6f6f6;
    padding: 0.3rem 0.25rem;
    .item-content {
      .ico {
        .w(0.8);
        .h(0.8);
        margin-right: 6px;
      }
      .item-title {
        .fs(0.33);
        color: rgba(51, 51, 51, 1);
        .lh(0);
        .mt(0);
        white-space:nowrap;
        width: 2rem;
      }
      .integral-num {
        .mt(0.1);
        .fs(0.274);
        color: rgba(153, 153, 153, 1);
        .lh(0.294);
        .mb(0);
        img {
          height: 0.29rem;
          vertical-align: top;
        }
        .ecd{
          background-color: #0b97c4;
        }
      }
      .integral-daily_logo {
        color: rgba(153, 153, 153, 1);
        .mt(0.1);
        .lh(0);
        .mb(0);
        margin-bottom: 0px;
        height: 15px;
        img {
          height: 15px;
        }
      }

      .div-r {
        margin: 0.05rem;
      }
      .l-img {
       background-color: #f85c60;
        border-radius: 3rem;
        vertical-align: baseline;
        display: inline-block;
        .w(1.67);
        .fs(0.29);
        text-align: center;
        color: @whiteColor;
        border: none;
        .lh(0.66);
        padding: 0;
        box-sizing: content-box;
      }






    }

  }

}

.integral-goods-detail {
  width: 100%;
  .goods-detail-banner {
    height: 4.7rem;
    width: 100%;
    display: inline-block;
    margin: 0;
    background-color: @whiteColor;
    border-bottom: 1px solid #f6f6f6;
    .b-img {
      display: inline-block;
      position: relative;
      width: 100%!important;
      height: 4.7rem!important;
    }
  }
  .goods-detail-price {
    background-color: white;
    border-bottom: 1px solid #f6f6f6;
    div {
      padding-left: 0.35rem;
      padding-right: 0.35rem;

    }
    span {
      display: inline-block;
    }

    .goods-num {
      position: relative;
      padding-top: 0.30rem;
      padding-bottom: 0.15rem;

      .sp-name {
        font-size: 0.39rem;
        color: rgba(51, 51, 51, 1);
        line-height: 0.376rem;
      }
      .sp-num {
        position: absolute;
        font-size: 0.306rem;
        color: rgba(153, 153, 153, 1);
        line-height: 0.376rem;
        right: 0.35rem;

      }
    }
    .goods-price {
      position: relative;
      padding-bottom: 0.30rem;
      .sp-price {
        font-size: 0.39rem;
        color: rgba(252, 123, 43, 1);
        line-height: 0rem;
      }
      .sp-unit {
        font-size: 0.282rem;
        color: rgba(153, 153, 153, 1);
        line-height: 0rem;
      }
      .sp-unit-original{
        font-size: 0.282rem;
        color: rgba(153, 153, 153, 1);
        line-height: 0rem;
        text-decoration: line-through;
      }
      .sp-usable {
        position: absolute;
        right: 0.35rem;
        font-size: 0.282rem;
        color: rgba(153, 153, 153, 1);
        line-height: 0.329rem;
      }
    }
  }
  .goods-quantity-selection {
    padding: 0 0.2rem 0 0.35rem;
    position: relative;
    .border-bottom-1;
    .bg-w;
    .sp-title {
      font-size: 0.30rem;
      color: rgba(102, 102, 102, 1);
      line-height: 0.4rem;
    }
    .sp-exchange-num {
      font-size: 0.26rem;
      color:rgba(102,102,102,1);
      line-height: 0.4rem;
    }

    .sp-exchange-num2 {
      font-size: 0.26rem;
      color:rgba(252,123,43,1);
      line-height: 0.4rem;
    }


    .div-select {
      position: absolute;
      right: 0;
      display: inline-block;
      .mr(0.1);
      .sp-num {
        display: inline-block;
        font-size: 0.3rem;
        color: rgba(51, 51, 51, 1);
        line-height: 0rem;
        text-align: center;
      }
      .sp-add-subtract {
        width: 0.4rem;
        padding: 0 0;
        margin: 0rem;
        color: rgba(153,153,153,1);
        background-color: rgba(245,245,245,1);
        border: none;
        cursor:pointer;
        line-height: 0.4rem;
        text-align: center;
        display: inline-block;
        font-size: 0.28rem;
      }

    }
  }
  .address {
    .bg-w;
    .address-title {
      .text-030-999;
      line-height: 0.32rem;
      padding: 0;
      .address-detail{
        padding: 0.34rem 0.55rem 0.34rem 0.35rem;
        display: block;
        overflow: hidden;
        word-break:keep-all;           /* 不换行 */
        white-space:nowrap;
        text-overflow:ellipsis;         /* 当对象内文本溢出时显示省略标记(...) ；需与overflow:hidden;一起使用。*/
        span{
          padding-right: 0.55rem;
          padding-left: 0.3rem;
          .text-028-333;
          color: #CCCCCC;
        }
      }
    }
  }
  .exchange {
    margin-top: 0.2rem;
    .border-bottom-1;
    .exchange-title {
      border-left: 2px solid #F85C60;
      .bg-w;
      .text-035-333;
      font-weight: bold;
      line-height: 0.35rem;
      padding: 0.3rem 0.35rem;
      margin: 0;
    }
  }
  .exchange-text-count {
    .bg-w;
    .text-032-999;
    padding: 0.3rem 0.35rem 1rem 0.35rem;
    margin: 0;
  }
  .exchange-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
    .fix_iphonex;
    .h(1.2);
    text-align: center;
    background:rgba(255,255,255,1);
    font-size: 0.424rem;
    box-shadow:2rem 0rem 10rem rgba(0,0,0,0.1);
    line-height:1.2rem;
    z-index: 1;
    .circle-button {
      vertical-align: middle;
      display: inline-block;
      .h(0.8);
       width: 61.8%;
      .fs(0.3);
      text-align: center;
      background:linear-gradient(-90deg,rgba(251,88,83,1),rgba(251,90,92,1),rgba(255,106,77,1));
      border-radius:35px;
      box-shadow:0px 4px 12px 0px rgba(251,90,92,0.2);
      color: @whiteColor;
      border: none;
      &:disabled{
        opacity: 0.6;
      }
    }

  }

  .dialog-exchange-bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 2;
    background-color: rgba(0,0,0,.3);
    .dialog-exchange {
      .bg-w;
      position: relative;
      width: 90%;
      left: 5%;
      margin-top: -2.6rem;
      border-radius: 0.3rem;
      padding: 0 0.3rem 0.3rem 0.3rem;
      .dialog-exchange-title {
        text-align: center;
        .text-04-333;
        line-height: 1.0rem;
      }
      .dialog-exchange-name {
        font-size:0.35rem;
        color:rgba(51,51,51,1);
        .mt(0.3);
        font-weight: bold;
      }
      .dialog-exchange-num {
        .d-ib;
        .border-right-1;
        .text-030-666;
        padding: 0 0.25rem 0rem 0rem;
        .mt(0.2);
        .mb(0.3);
        .mr(0.2);
        .sp-padding {
          .d-ib;
          .text-030-666;
          .pl(0.2);
        }
      }
      .dialog-exchange-integral {
        color: #F85C60;
      }
      .dialog-exchange-price {
        .d-ib;
        .text-030-666;
      }
      .dialog-exchange-address {
        padding: 0.3rem 0;
        .border-bottom-1;
        .address1 {
          .mb(0.15);
          .text-030-666;
        }
        .address2 {
          .text-030-666;
        }
        .address-title {
          .mr(0.12);
        }
        .address-phone {
          .ml(0.16);
        }
      }
      .dialog-btn{
        padding: 0.3rem 0 0 0;
         .flex;
        .flex-pack-justify;
        .dialog-cancer {
          .d-ib;
          margin-left: 5%;
          font-size:18px;
          color:rgba(102,102,102,1);
          width: 43%;
          background:@whiteColor;
          border-radius:4rem;
          border: 1px solid #C5C8D1;
          box-shadow:4rem 0rem 12rem rgba(251,90,92,0.2);
          text-align: center;
          height: 35px;
        }
        .dialog-confirm {
          .d-ib;
          font-size:18px;
           width: 43%;
          margin-right: 5%;
          color:rgba(255,255,255,1);
          background:linear-gradient(-90deg,rgba(251,88,83,1),rgba(251,90,92,1),rgba(255,106,77,1));
          border-radius:4rem;
          text-align: center;
          height: 35px;
          border: none;

        }
      }


    }

  }
}

.integral-record-item{
  position:relative;
  overflow:hidden;
  padding:11px 15px 11px 0;
  margin-left: 15px;
  -webkit-touch-callout:none ;
  border-bottom: 1px solid #f6f6f6;
}



.l-img-no-daily {
  background-color: #fbb1b2;
  border-radius: 20px;
  vertical-align: middle;
  display: inline-block;
  .h(0.7);
  .w(1.62);
  .fs(0.3);
  text-align: center;
  color: @whiteColor;
  border: none;
}